<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- 技术创新信息修改 -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>带侧边栏内容</title>
<link href="css/style2.css" rel="stylesheet" type="text/css" />
</head>

<body>

	<div class="formbody">

		<div class="formtitle">
			<span>添加文章</span>
		</div>
		<form action="Center_Index_Technologyedit" method="post">
			<input name="id" value="${mainContent.id }" />
			<ul class="forminfo">
				<li><label>文章标题：</label><input name="title" type="text"
					class="dfinput" value="${mainContent.title }" /><i>填入文章标题</i></li>
				<li><label>侧边栏标题：</label><input name="sideTitle" type="text"
					class="dfinput" value="${ mainContent.sideTitle}" /><i>填入所属分组</i></li>


				<li><label>内容：</label>

					<div style="margin-left: 88px">


						<!-- 加载编辑器的容器 -->
						<script id="container" name="contents" type="text/plain">
      ${ mainContent.contents}



                </script>
						<!-- 配置文件 -->
						<script type="text/javascript" src="ueditor.config.js"></script>
						<!-- 编辑器源码文件 -->
						<script type="text/javascript" src="ueditor.all.js"></script>
						<!-- 实例化编辑器 -->
						<script type="text/javascript">
                    <!--设置高度为600，不显示元素路径-->
                    var ue = UE.getEditor('container', {initialFrameHeight: 600, elementPathEnabled: false});
                </script>
					</div></li>


				<ul style="float: left; display: inline">

					<li style="display: inline"><a href="Center_Index_Technologyedit"
						target="rightFrame" /> <input name="" type="submit" class="btn"
						value="确认" /></li>
					<li style="display: inline"><a
						href="Center_Index_TechnologynoEdit" target="rightFrame" /> <label>&nbsp;</label>
						<input name="" type="button" class="btn" value="取消" /></li>
				</ul>

			</ul>
		</form>

	</div>


</body>
</html>
